<?php
	return  array(
		'components'=>array(	
			'urlManager'=>array(
				'urlFormat'=>'path',
				'showScriptName' => false,//隐藏index.php 
				'urlSuffix' => '',//后缀  
				'rules' => array(
				   '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
				   '<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
				   '/index.html' => 'site/index', //首页	
				),
			)
		),

	);	

?>